import 'package:double/double.dart';

void main() {
  Double a = Double(1.001);
  double b = 1.001;
  print('a = $a, b = $b  a==b: ${a.equals(b)} ${a.value == b}');
  for (var i = 0; i < 21; ++i) {
    a = a + 0.1;
    b = b + 0.1;
    print('a = $a, b = $b  a==b: ${a.equals(b)} ${a.value == b}');
  }
}
